﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MiniMap.aspx.cs" Inherits="Microsoft.Live.ServerControls.Web.ClientSideExtenders.MiniMap" %>
<%@ Register Namespace="Microsoft.Live.ServerControls.VE" Assembly="Microsoft.Live.ServerControls.VE" TagPrefix="cc" %>
<%@ Register Namespace="Microsoft.Live.ServerControls.VE.Extenders" Assembly="Microsoft.Live.ServerControls.VE" TagPrefix="cx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Virtual Earth Server Control</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div style="float:left;width:400px;">
        <cc:map ID="myMap" runat="server" ZoomLevel="10" >
            <Center Latitude="47.64075" Longitude="-122.12909" />
        </cc:map> 
        </div>
        <div style="float:left;width:400px;">
            <h3>MiniMap Client Side Extenders</h3>  
            <asp:LinkButton ID="Toggle" runat="server" Text="Toggle"></asp:LinkButton>
            <asp:LinkButton ID="Show" runat="server" Text="Show"></asp:LinkButton>
            <asp:LinkButton ID="Hide" runat="server" Text="Hide"></asp:LinkButton>
            <cx:MiniMap ID="ToggleExtender" runat="server" TargetControlID="Toggle" MapControlID="myMap" ToggleMode="Toggle" />
            <cx:MiniMap ID="ShowExtender" runat="server" TargetControlID="Show" MapControlID="myMap" ToggleMode="On" />
            <cx:MiniMap ID="HideExtender" runat="server" TargetControlID="Hide" MapControlID="myMap" ToggleMode="Off" />
        </div>
    </form>
</body>
</html>
